Better error message
Fixes build
Remove another duplicate type