See wrapper.java.additional.3, 6, 7, & 8 in this post:
wrapper.java.additional.3, 6, 7, & 8
Also see the the section shown below here: