Converted full implementations into bioler plate code.