Updated to work with Redmine 2.x.x.