Improved default function support for Cython