Refine some interfaces.