Added entity.registerCustomComponent