Add clear and remove methods generation. Add entity.create clazz event.