Am thinking we need to pull this logic out somewhere common, like maybe `Core` :P