Cleanup snippet initialization