MDL-51784 general: Adding missing php4 style constructors