Making template api public (for building up error messages)
Extract "verify" action into the bussiness logic api.