Implemented function bodies.