If you've state for a custom command in a class must be reset for each file, so add these custom events: - `start` (execute before the parsing and allow to skip the parsing for a file) - `end` (execute after the parsing, when the internal states are reset)