Added base and reference class.