Changed clauseNotEmpty method to protected