Changed method for adding a traject and added method for removing a traject