Added plot relative reference support.