Use object passed as parameter in delegate implementation