Changing stream to properties.