Makes changes to OAuth model to accpet more than one type of references