Implement X-GM-RAW

Fixes #231.