Set _tp field
Corrected the method names
Call _validateObject instead of _validateData