Changed dependency to cdi api