Fix BeforeAdd event to let value to be altered and AfterAdd event to include record. Documentation fixes.