Added methods to a number of core modules for testing purposes