Call the parent getComamnd() method instead of duplicating code.

It's late and I'm tired :(