Fire event on changes of path + added support for getLength() on path objects.