More verbose NotAnInstance exception

Remove dead code