Use specific types in svd definitions. Close #2240.