Fixed unrecognized selector sent to instance crash.

Fix for issue 55