Identified object size and solidtype as flags. Exported them as functions to Perl.