Updated for WebWorks 2.0.