Remove useless function
Test areConnect method
Remove var_dump
Use filters type
Take care of a previous commit