This matches the structure of other dialects, and also removes unnecessary dependencies from the core dialect lib.