Calling cores APIs to get data instead of using OGNL