Minor function refactor
Minor function refactor

tylerb/delve,ggndnn/delve,derekparker/delve,jeff235255/delve,dullgiulio/delve,dlsniper/delve,waterway/delve,go-delve/delve,go-delve/delve,ignatov/delve,jeffallen/delve,dullgiulio/delve,sinuos/delve,ignatov/delve,ignatov/delve,waterway/delve,visualfc/delve,firebitsbr/delve,glycerine/delve,go-delve/delve,torfuzx/delve,dlsniper/delve,torfuzx/delve,visualfc/delve,aarzilli/delve,ironcladlou/delve,dr2chase/delve,aarzilli/delve,sinuos/delve,alexbrainman/delve,ggndnn/delve,lukehoban/delve,dr2chase/delve,dr2chase/delve,derekparker/delve,w4ngyi/delve,derekparker/delve,joeshaw/delve,alexbrainman/delve,alexbrainman/delve,glycerine/delve,jeff235255/delve,joeshaw/delve,aarzilli/delve,skyportsystems/delve,go-delve/delve,aperera/delve,beni55/delve,w4ngyi/delve,jeffallen/delve,visualfc/delve,yigen520/delve,firebitsbr/delve,dlsniper/delve,aperera/delve,go-delve/delve,beni55/delve,aarzilli/delve,tylerb/delve,skyportsystems/delve,ironcladlou/delve,lukehoban/delve,yigen520/delve,ggndnn/delve