Added method variant that takes local and removed deprected methods