Updated indentation and some code.