Store title's label and level in attributes