Made line objects creatable