Add include guards around core modules