remove redundant slot declarations