Use annotations rather than xml config.