Add 'def' function to declare functions without patterns