Fix companion object.