Fixes #127. Global variables are applied also to annotations.