Added API for breaks.
Things should basically work. Not tested yet.