Get rid of deprecation warning.

Fixes #4. If there's a reason for using priority, please fix this. Works for us, at least.