Removing passing kwargs which aren't used.