add dependency on methods package