Added error messages to loading objects