Fix typo in model attribute type check.
Bump version to 0.1.2