Refactor codes
Apply mixins to ReactClass