Move message command validation to abstract Message class