Implement `extends` to both the profiles and cloud providers configuration. Refs #239.