Fixed include GUARDS and NULL pointers.