Enhanced require flexibility for Titanium SDK