Eliminate explicit reference ot UIKit dependency