Remove UIKit dependency