allow callback fn access validator methods