Added facility to build pendingintents in order to schedule requests.