Converted SearchProfile.pm to OM and CacheObject.