Connection profile for generic type added (fixes #668)