Any update on this? Just faced with the same problem. Off course for aB and AB the will be the same getter and setter functions but there should be a way to differ them.