Removes extraneous calls.