Fix issues
add dynamic method definition
trying to fix build
Merge pull request #2 from CWISoftware/fix_issues

Fix issues