Add rage support

Fixes #3