Committing BS12 code to /tg/ branch.