Untested (yay compiles!) version of gen_stomp.