Summary: As titled. Explained in D57176524. Consolidate the code
Differential Revision: D57214084
This pull request was exported from Phabricator. Differential Revision: D57214084