Fix type declaration.