Get the Policy class through the object class, to enable usage with custom serializers