Changed the method calls to match the changes made to the module's interface.