Implement Entity interface.