Add support for @type: @vocab

This closes #31.