Fixed the code to return an InstructionMessage in the retrieve method