Initial commit

Based on 0.4.0-pre5-134-g328ed24 from our internal repository.
Also known as 328ed2476104eaee1120333817e5df392102e42a.