Use kwargs instead of args when creating ANN