If they are only needed at course_module.py level, then move them there. I'm not yet clear on if your annotation xblocks need access to these settings. If they need to access the values, then I think you will need to put them in inheritance.py and state which xblocks need the fields (through declaring them as fields on the different xblock types).