Fixed inherited member replacement for #529