path: add src, size and empty methods