Add detect_indentation