Class should be public static. Otherwise it will not be injectable.