Fix bug: An class referrence error.