Removes unnecessary expression in favour of a compiled lambda.

Increases initial configuration speed considerably when using significant
numbers of conventions. refs #226

There are other expression compilations which can be eliminated, but only at the expense of bloating the code and/or breaking changes to the API. The performance gains were negligible in my use case so I have left them alone for now.