Only set the type if it is not provided.
Merge pull request #14 from backupify/allow_type_change

Only set the type if it is not provided.