Add defaults to templated constructors.

Fixes #4