Reduce scope of objects