Tornado Twins Tutorial Movement Problem

I have pasted the exact script of the TornadoTwins tutorial. It goes like this:
var speed = 3.0;
var rotateSpeed = 3.0;
function Update ()
{
var controller : CharacterController = GetComponent(CharacterController);
transform.Rotate(0, Input.GetAxis (“Horizontal”) * rotateSpeed, 0);
var forward = Transform.TransformDirection (Vector3.forward);
var curSpeed = speed * Input.GetAxis (“Vertical”);
controller.SimpleMove(forward * curSpeed);
}
@script RequireComponent(CharacterController)

When I try to run the script I get
Assets/Movement.js(8,25): BCE0020: An instance of type ‘UnityEngine.Transform’ is required to access non static member ‘TransformDirection’.
Can anyone help?

Not sure but if you change the line:

var forward = Transform.TransformDirection (Vector3.forward);

to:

var forward = transform.TransformDirection (Vector3.forward);

This should get rid of the error, good luck!