Fully tested. v1.0.0.