Add pre and suffix to snapgen