add partial methods to context