Allow configuration of requests returning promises