Resolves Stack Overflow issue.