Refactor functions as object properties to prevent any type of conflicts.