Deprecated 'receiveEvent' and 'detectFlashSupport'.
Fixes #248.