Patched to make terminators static variables - no need to keep re-declaring.