Type saftey is a bitch