Update readme on validation function signature.