Fixed the lua module registration.