Clean up transform server source function calls.
Add and scope out the core emital API.