Moved the rb_define_attr calls. Implemented more events and enums.