depreciate allowedMessages to simplify the API
changes to readme