This should be ``getObject``, not ``getEntity``