Remove UIKit specific code