Converted indentation to 2 spaces to align with Ruby convention.