Keep compatibility with old version

Fixes #13 Refs #7