Refactor: Breaking down checking prerequisites into small chunks.