Fixed bug with default arguments.