WHISTLE-1186: update specs/types
WHISTLE-1186: add some more api types
WHISTLE-1186: update specs/formatting
WHISTLE-1186: remove unused clause, update spec
WHISTLE-1186: update specs/types
WHISTLE-1186: updates from dialyzer, specs, and whitespace cleanup