rm definitions.go, use method as string directly