Removing unnecessary interfaces