Bugfixes.

- Wrong method comparation.