Before using IEntity