Strip off unwanted version information.