Added support for substitution tokens in loc modules.