Added command parsing.