Make snippet-class stateless.