This "mod" construct I can't recall it anywhere... is there just a little bit of documentation about it?

Other than that, see comments in easyblock and specify sanity_checks somewhere etc.