Added locals support and call stack support.