Convert field to constructor injection