The Internal and External Components of Cognition