Resolve modules added via functions attached to YUI instance which belong to other classes