Remove unused QL related code