Add some class method snippet