Address Andreas' complaint about code duplication.
Address Andreas' complaint about code duplication.

kirbyfan64/Nim,jsanjuas/Nim,nanoant/Nim,singularperturbation/Nim,bvssvni/Nim,SSPkrolik/Nim,Matt14916/Nim,xland/Nim,msmith491/Nim,greyanubis/Nim,sferik/Nim,MrJohz/Nim,MrJohz/Nim,BlaXpirit/nim,xland/Nim,sferik/Nim,Senketsu/Nim,singularperturbation/Nim,fredericksilva/Nim,greyanubis/Nim,fredericksilva/Nim,JCavallo/Nim,Dhertz/Nim,Matt14916/Nim,tulayang/Nim,tulayang/Nim,nafsaka/Nim,tmm1/Nim,kirbyfan64/Nim,Matt14916/Nim,MrJohz/Nim,sferik/Nim,reactormonk/nim,judofyr/Nim,sarvex/Nim-lang,SSPkrolik/Nim,jsanjuas/Nim,jsanjuas/Nim,judofyr/Nim,xland/Nim,jsanjuas/Nim,russpowers/Nim,reactormonk/nim,bvssvni/Nim,reactormonk/nim,nimLuckyBull/Nim,tmm1/Nim,gokr/Nim,kirbyfan64/Nim,fmamud/Nim,kirbyfan64/Nim,dom96/Nim,judofyr/Nim,tulayang/Nim,MrJohz/Nim,endragor/Nim,jfhg/Nim,jfhg/Nim,nimLuckyBull/Nim,fredericksilva/Nim,kirbyfan64/Nim,BlaXpirit/nim,fredericksilva/Nim,jsanjuas/Nim,Dhertz/Nim,nafsaka/Nim,xland/Nim,bvssvni/Nim,jsanjuas/Nim,gokr/Nim,douglas-larocca/Nim,fredericksilva/Nim,singularperturbation/Nim,douglas-larocca/Nim,fredericksilva/Nim,judofyr/Nim,Senketsu/Nim,kirbyfan64/Nim,singularperturbation/Nim,nimLuckyBull/Nim,JCavallo/Nim,msmith491/Nim,Senketsu/Nim,mbaulch/Nim,endragor/Nim,nimLuckyBull/Nim,greyanubis/Nim,reactormonk/nim,Salafit/Nim,mbaulch/Nim,Salafit/Nim,sarvex/Nim-lang,SSPkrolik/Nim,singularperturbation/Nim,gokr/Nim,msmith491/Nim,singularperturbation/Nim,Senketsu/Nim,tmm1/Nim,JCavallo/Nim,kirbyfan64/Nim,fmamud/Nim,Matt14916/Nim,jfhg/Nim,nimLuckyBull/Nim,haiodo/Nim,mbaulch/Nim,bvssvni/Nim,zachaysan/Nim,haiodo/Nim,zachaysan/Nim,Salafit/Nim,dom96/Nim,nafsaka/Nim,endragor/Nim,Senketsu/Nim,SSPkrolik/Nim,gokr/Nim,sferik/Nim,russpowers/Nim,BlaXpirit/nim,sarvex/Nim-lang,zachaysan/Nim,dom96/Nim,gokr/Nim,judofyr/Nim,msmith491/Nim,fmamud/Nim,douglas-larocca/Nim,jfhg/Nim,nanoant/Nim,Salafit/Nim,Matt14916/Nim,dom96/Nim,Salafit/Nim,tulayang/Nim,MrJohz/Nim,endragor/Nim,Matt14916/Nim,kirbyfan64/Nim,mbaulch/Nim,bvssvni/Nim,nafsaka/Nim,dom96/Nim,Dhertz/Nim,tmm1/Nim,nanoant/Nim,dom96/Nim,singularperturbation/Nim,reactormonk/nim,judofyr/Nim,JCavallo/Nim,fredericksilva/Nim,fredericksilva/Nim,zachaysan/Nim,douglas-larocca/Nim,reactormonk/nim,douglas-larocca/Nim,haiodo/Nim,gokr/Nim,Senketsu/Nim,BlaXpirit/nim,zachaysan/Nim,BlaXpirit/nim,endragor/Nim,dom96/Nim,jfhg/Nim,Dhertz/Nim,sarvex/Nim-lang,JCavallo/Nim,sferik/Nim,msmith491/Nim,tmm1/Nim,reactormonk/nim,haiodo/Nim,greyanubis/Nim,msmith491/Nim,bvssvni/Nim,douglas-larocca/Nim,tmm1/Nim,Senketsu/Nim,fmamud/Nim,endragor/Nim,gokr/Nim,greyanubis/Nim,nanoant/Nim,nafsaka/Nim,xland/Nim,fmamud/Nim,judofyr/Nim,gokr/Nim,Matt14916/Nim,nanoant/Nim,SSPkrolik/Nim,sferik/Nim,douglas-larocca/Nim,Salafit/Nim,fmamud/Nim,jfhg/Nim,xland/Nim,SSPkrolik/Nim,BlaXpirit/nim,nimLuckyBull/Nim,SSPkrolik/Nim,Dhertz/Nim,haiodo/Nim,MrJohz/Nim,nafsaka/Nim,JCavallo/Nim,SSPkrolik/Nim,jfhg/Nim,russpowers/Nim,zachaysan/Nim,judofyr/Nim,nanoant/Nim,tulayang/Nim,endragor/Nim,sarvex/Nim-lang,nimLuckyBull/Nim,BlaXpirit/nim,jsanjuas/Nim,haiodo/Nim,sferik/Nim,nafsaka/Nim,sferik/Nim,sarvex/Nim-lang,sarvex/Nim-lang,tmm1/Nim,nanoant/Nim,russpowers/Nim,BlaXpirit/nim,haiodo/Nim,Salafit/Nim,russpowers/Nim,bvssvni/Nim,russpowers/Nim,Dhertz/Nim,reactormonk/nim,mbaulch/Nim,zachaysan/Nim,greyanubis/Nim,mbaulch/Nim,msmith491/Nim,douglas-larocca/Nim,JCavallo/Nim,greyanubis/Nim,mbaulch/Nim,russpowers/Nim,xland/Nim,MrJohz/Nim,Dhertz/Nim,fmamud/Nim,tulayang/Nim