Shouldn't that then take a Properties parameter instead of a string?