Bug fix: was linking only one command per method