Fix multiple undefined method errors (from #2265)

For some reason when I pushed my last commit, my remote branch wouldn't update.  So I ended up with another new branch with all the changes.

Original description:
This fixes multiple undefined method errors due to the same reason: a connection time out. Each commit message contains the redmine ticket number.