Added $params attribute for interface function