Revert "Revert "Fuckong emit""

This reverts commit f41c9e312675b52cc7ccffa4d7e45809519aceca.