Added component helpers to entity class