Helper for flycheck