Redmine#4128: fix function references