Add method to get context on byclass with ID