added doc for init method in Entity