Added a generic #create method to generate evented interfaces.