Static and non-static registry functionality.
Supports plain access rights and storing values by references.