Add Interface segregation in duck-typed languages