Issue #311 : Add as_ based interface to constant