Rename methods to separate commands from queries. Use match instead of split, which eliminates the need for filter.