up: allow to be loaded as AMD module or not.