Use String instead of Path in core