Function and configuration in Archaeology