Added check for static target method