added base class def to note_types_api.py