Inherit the correct class