Add a Linear class to the APi