Fix declaration of getLink method to be compatiable with declartion in
Command class.