Removed unnecessary code.
Fixed indentation.