Fix new with object
Minor fix to error reporting
Strict method name check