added support for retrieving abstract entity