Moved the custom aliases to the module specification they belong to.