According to Colin O'Donoghue, Adam Horowitz and Edward Kitsis had given him the heads up from the start that Emma had made Hook immortal. He guessed that Hook was going to be dark, and with some scenes where Emma entered the room, he played it like Hook had the sense that she was going to come, like in vampire movies, where the vampires senses that the master is coming.