Changed connect! to accept Configuration instead of map