Enables instantiation by index