Fix morgan deprecation warning.

Fixes #429.