Export messages through constants api

Fixes assembla-364