Added helper for project type detection;