Added convolutional network support.