More tweaks and fixes for dtype_dtype