Moved require to the proper place
Added empty option for floats and integers.