[BUGFIX] Call to undefined method

NamelessCoders fix should also be applied to ln 74 and 78.
Merge pull request #10 from filipbech/patch-2

[BUGFIX] Call to undefined method