Fix for compatibility with cocaine 0.10.6