Allow to have api directory not name NAME.