Implemented pattern.