Fix methods
Merge pull request #477 from moshkov-konstantin/patch-2

Fix methods