Add grammar for function type declarations.