Procedure pointer approach looks workable. Begin work on bucket interception module as a test.