add snax.self and snax.exit