Add check for method variables double declaration.