Add filter methods for entities.