Document emit() method