Added skipClass() method