Add a base scope functionality.