Testing stubs.
Add a stub duration type.
Improve API naming scheme some.