Reduce calls to const_get