Removed deprecated username parameter.