Fix interface to authorize loading module