Add public api for BY; Fix some typos