Partial solution to issue 22.
Fixes Issue #22.
Merge pull request #34 from MessiJS/issue-22/callback-selection-undefined

Issue 22/callback selection undefined