Added views implementation to entity