Add a comment explaining this magic?