to prohibit the owners or occupiers of real property from allowing property to become untidy or unsightly and to require the owners or occupiers of real property, or their agents, to remove therefrom any accumulation of filth, discarded materials, or rubbish of any kind