Merge pull request #93 from jhaynie/master

copy any class constructor prototypes (on custom classes) onto the instance. resolves #92