unify formatting, lowercase exported API, not trying to be Go here.