Perform cleanup, precache command methods instead of finding them when commands are called.