Using a hook instead of inheriting a template in Cheque