Class based scripting.