Why is this a DirectContainer instead of a resource? It seems very strange to assert its both a DirectContainer and a BasicContainer. Same question for all the places below too.