Fixes bad parent constructor call.