Change source code for gora-0.5 compability.