Rails implementation of the decorator design pattern.