Refactor to extract god.