Updated for redmine 2.5.x