Minor API changes. Adds a stub declaration for signal emitting.