Fixed the ignoring of methods.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #171 from ddobrev/master

Fixed the ignoring of methods