Add notices for using the deprecated c imports.
Avoid using deprecated features in unit tests.