Experiments implementing the decorator design pattern