Pass string type to extension of save