Remove deprecated call

Fixes #25