Add auto support for user's adapter
Removed callback in onMessage interface