Fix params not being set if no init method is defined