Added equality to Pipeline class