Removed warnings
Call delegate method only if delegare responds to it