Removed UIKit dependency