Remove unnecessary r_db dependency for r_cons