Managing Smart Documents and Records