Add utility functions from worldmetro.