Added FormatFuncType and fixed formatting of function declarations and
function types