Fixed NPE in the Create command (when default data is passed).