Abstract generic constants into parent interface