ppImplement 'function' mechanism.
Refactor exception mechanism.