Workaround Go issue 5381