Add support for RequireJS-like "exposed" option.