Updated for Redmine 2.x