Minor changes to Container::resolveParameter.