Make 'self lifetime illegal.

Also remove all instances of 'self within the codebase.

This fixes #10889.