In APIResource: Added more useful url methods.