Add precall & postcall method