Changed validate deprecated