Refactor implementation pieces in prep for #230.

This splits each implementation piece into a separate object
so that it is easier to combine them.
Clarify relationship between different method stub instructions.