Functionalism Defended