Cleaner metarpgoramming of Coercer class