Use NSNumber class extension instead of bsPrimitive class.