Updated MockConfig and api doc