Removed unpythonic syntax.