def register_signals(self, app):
before_record_index.connect(inject_provisional_community)<EOL>if app.config['<STR_LIT>']:<EOL><INDENT>listen(Community, '<STR_LIT>', create_oaipmh_set)<EOL>listen(Community, '<STR_LIT>', destroy_oaipmh_set)<EOL><DEDENT>inclusion_request_created.connect(new_request)<EOL>
Register the signals.