Fix NPE bug.
Add new API and fix NPE bug.
Version bump.
Handle NPE bugs.
Log exceptions.
Version bump.