Avoid using getPartialReference