Added locations() method to BasicModel