Add event service provider to compiled file.