Fixes parent class constractor invocation issue.