Improved connect() with method listeners.