More function indentation issues fixed.