Add primitive option for slabs.
Automatic Py3k merge for testing