This is only needed by the legacy code