Change method param to general interface.