Change hello world literal to a method.