Updated `MessagePart` code template with added `getChild` method, with
javadoc.