Add methods: valid and fix