import/pragma cleanup
remove outdated comment
remove some unnecessary a ~ Scalar a constraints