Fix some minor issues with setProperty signature