adding a validating scheme and serializer interfaces