Refactor to address linter issues, breaking up large methods, renaming variables, etc.
App::anyToQuantity