Some changes in EntityEvent and started making the javadoc.