removes unused outlets and methods