Remove unused Scanner type from dialect
Support custom types from base types