Converted StdAttachment.pm to OM and CacheObject.