Handle statically-resolving functions with defaults