Fix misplaced class method [story:47856033]