Stop passing argument to class which doesn't use it.