This commit should be undone after figuring out why I suddenly had to use self.delegate instead of delegate.

Signed-off-by: Phill Apley <pga@enflight.com>