separate gen_mod hooks from others, add lookup_message
yagni, create lookup_message