Avoid duplicate attrs and params