Change convert method names and simplify isValid