Supporting mapping to equivalent type in expressions; closes #247