Add CGFloat support