Added support for short primitive types

fixes #96