Modified to use annotation transformation.