Update class snippet to save some typing.