Point the deprecation warning to the right place

Fixes #16