where `managed` attribute is used?