make class truly immutable instead of just making methods final.