Pass current instance to action hook