Tidy level() implementation.
Bump patch version.