Move over code from JUberblog.
Add defaults.
Tests for fragemt.