Fixed a syntax error that required a return inside a function.