Added shell functionality.