Added example class for defining custom types