Convert relative() to async. Ref GH-76.