Added prop() function to entity