Fixes duplicate method issue.