This replaces throwing a exception on init with a compile time error (unavailable attribute). Test removed since it's no longer necessary.