only include hook if partial is available