maybe extract this warning somehow.. or simply `return validate(object);`