add constant and override annotations