Throw error if no default function and invalid command.
Release v0.4.2.