Add dict and snippet