Simple custom Gen example.