Remove callback stuff
Do error checking before instantiating vectors