Check type instead of medium.