avoid creating classes just for golang versions