Migrate old services API into Klein