Add validation callbacks

Signed-off-by: Stephen Celis <stephen@stephencelis.com>