Implement FillCommand.