Remarkable residues of out-of-date ideas: Avenarius and Teleology