Support for NSNumbers and primitives.