Take into account `use_module/2` directives when compiling calls to the database and reflection built-in methods