Applying doc(hidden) attribute