It was a circular use statement that caused it.
Hard to see!