Change methods calls

Change the methods calls because the Osmium API differs from the origin
development times.