Specify key as last parameter to constructor.

Closes #20.