Added dir argument.