Filters now use the module-style parameters to automate the type checking and default value assignment.