Add coercers to transform, validate input