Updates to try to get the code to work with Redmine version 2.1.2.