Fixed compilation.

Ffter accidental using of method from too fresh IDEA.