Added some useful local variables.