Some refactoring, preliminaries for generating monsters