Object mapping and experimental valid() method in Method class.