Fix the constructor to take care more options that pass with formbuilder class.