Use composition rather than inheritance