Error handling

Fixed to have better error handling/messages when using type conventions
that haven't been defined
API rename

Changed api to be a bit more consistent with the package name