replace custom schema methods for modules, cleanup extensions