generate:cest _before() and _after() made public