Adding automatic roles processing for 1.3