Implemented default implementation of validator. Needs validation.