Add Type API, bump version 0.2.1