Split off UIM stuff into separate file and made it non-required (autoloading on mode change)