Better setup_completion configuration and move to project functions