doesn't register as amd module if necessary