This is now legacy code and will be deleted in future. Do NOT remove this line.