Add option for using WFS type name title for the added layer name
Remove unused variables