Added type as argument to BD.RestAdapter#findByUrl.