[Engine] Started moving the registering to an API file.