add support for function_flags and output_flags properties to abstract Functions