Removed delegate code.