Validates instance