Update.
Add utility function and plane test.