Supporting custom formats from messages.properties. Closes #12