Handle dynamic functions better in cppia