Ensure functions with no arguments and no return value are still detected as functions.