Drafting Java API for manipulating slot records