Also, there should be some sort of type check here.