Added event definitions to list of exposed objects; beautified files