Begin work for checking container type too.