Make compatible with slim