Remove cb.project.detect and switch everything to cb.project