Set properties before initialize any children