Added getRegNum() to abstract class Expression.