Added connect in Entity.