On the Cognitive, Epistemic, and Ontological Roles of Artifacts