Programmatically get model information.