Basic api for compositions.