SLING-2750 moved the null check on instance inside the synchronised method to conform to rules about double null checks and synchronised blocks.