Don't make write object IDs method static.