It needs testing in PHP4.

I don't have PHP4 and maybe it's my environment but constructor was being called twice in PHP5 ver 5.4.19
This fixes the problem.