repeating all these configuration options could be avoided by using inheritance rather than composition.