add module function check, spit out warnings on mismatch

depends on #870