Added get_definition method to return real entities

fixes #97