Initial implementation of the pattern.