Systems model of API deprecation