add #assign_attributes and #apply to complex_form/base