Remove an unnecessary UIKit dependency.