Fixed constructor problem.