Add class to companion object