Implements readOnly option for util.exports.
Implements util.attributes for dynamic attributes initialization.