Moved the registering of tile entities.