Updated indentation function.