Fix warnings in incomplete code.