Editted with changes to Forge event handlers.