Converted all unmanaged classes to managed