Updated a bit the way the input members are initialized.

Based on @lieff's fix. :)