Registration bug fix and finalized the SimpleCompositionBean