Removed an unnecessary begin/end
Added definitions for validates_*_of methods.