Method and function traits modernized