Add appropriate extension.