Backward compat for #const_get