Add class related snippets.