Simple implementation of a decorator design pattern.