Use getContainer helper method.