constify Instance::getParam()