An implantable device for use with a spinal cord, the device comprising: a body portion having a peripheral portion and a first layer constructed from an electrically nonconductive material, the first layer having a first portion and a second portion, the first portion being configured to be positioned alongside the spinal cord and comprising a first plurality of openings, the second portion comprising a second plurality of openings; a plurality of electrodes positioned inside the peripheral portion and alongside the first portion of the first layer, at least one of the first plurality of openings being adjacent each of the electrodes to provide a pathway through which the electrode provides electrical stimulation to the spinal cord when the first portion is positioned alongside the spinal cord; and a plurality of traces positioned inside the peripheral portion and alongside the first layer with at least one of the second plurality of openings being adjacent each of the traces to provide a pathway through which the trace receives electrical stimulation, one or more of the traces being connected to each of the electrodes and configured to conduct electrical stimulation received by the one or more of the traces to the electrodes; wherein the first layer comprises a plurality of grid structures with a different one of the grid structures being adjacent each of the plurality of electrodes, each grid structure comprises a plurality of cells; wherein the body portion further comprises a second layer, the plurality of electrodes and the plurality of traces being positioned between the first and second layers; characterized in that the device further comprises a flexible outer coating that coats at least a portion of the second layer of the body portion and a portion of the first layer between the first portion of the first layer and the second portion of the first layer, and the flexible outer coating comprises at least one of a biomedical grade epoxy and a silicone elastomer. a body portion having a peripheral portion and a first layer constructed from an electrically nonconductive material, the first layer having a first portion and a second portion, the first portion being configured to be positioned alongside the spinal cord and comprising a first plurality of openings, the second portion comprising a second plurality of openings; a plurality of electrodes positioned inside the peripheral portion and alongside the first portion of the first layer, at least one of the first plurality of openings being adjacent each of the electrodes to provide a pathway through which the electrode provides electrical stimulation to the spinal cord when the first portion is positioned alongside the spinal cord; and a plurality of traces positioned inside the peripheral portion and alongside the first layer with at least one of the second plurality of openings being adjacent each of the traces to provide a pathway through which the trace receives electrical stimulation, one or more of the traces being connected to each of the electrodes and configured to conduct electrical stimulation received by the one or more of the traces to the electrodes; wherein the first layer comprises a plurality of grid structures with a different one of the grid structures being adjacent each of the plurality of electrodes, each grid structure comprises a plurality of cells; wherein the body portion further comprises a second layer, the plurality of electrodes and the plurality of traces being positioned between the first and second layers; characterized in that the device further comprises a flexible outer coating that coats at least a portion of the second layer of the body portion and a portion of the first layer between the first portion of the first layer and the second portion of the first layer, and the flexible outer coating comprises at least one of a biomedical grade epoxy and a silicone elastomer.