added methods array for faster lookup of calss methods in Entity