Added some entity utility methods