Renamed common::addShape to createShapeFromPath