Cleanup unnecessary metadata, support multiple versions of Go