Bug fixes for DSpace support.