Reconciling Function and Structure in Scientific Models