Autogenerate module stubs in linter

I win the number of lines deleted competition.