Use javax.inject annotations where available.