Pulled in unmanaged.ts (split into individual classes/files).