Fix base component constructor