These two files can probably be refactored because they seem to have some similar functionalities:
This issue has been migrated to a new Jira instance: