Suppress warnings if flocker is imported.
Use warnings API correctly.