Remove prime dependency