Class wrappers for php primitives