Add cwModel class API functions