Changed function syntax.