#JC-643 Renamed methods because they work not only in mozilla