 Theres a reference to "The Little Engine That Could". While Casey  Jr. is trying to get up a hill, the train sounds like its talking.  It says "I think I can, I think I can." Then when the train gets up  the hill and starts going faster, it changes to, "I thought I could,  I thought I could."