Fixed up indentation for consistency with original code.