Add validation to adaptor.