Fixed annotation of getSession method