Implement custom storage strategies (embedded/plain) for phash entries