Fix warning for unused default arguments