Adding the mode "all" for getProperties