Added support for relative coordinates.