Platform: minor code deduplication, documentation and cleanup.
Platform: minor code deduplication, documentation and cleanup.

ashimidashajia/magnum,ashimidashajia/magnum,MiUishadow/magnum,DerThorsten/magnum,DerThorsten/magnum,DerThorsten/magnum,MiUishadow/magnum,MiUishadow/magnum,MiUishadow/magnum,ashimidashajia/magnum,DerThorsten/magnum,ashimidashajia/magnum,MiUishadow/magnum,DerThorsten/magnum,ashimidashajia/magnum,MiUishadow/magnum