Remove deprecated navigation events and update API definition.

Closes #12.