Remove old API from views