Refactor of the metocean API.