Advanced reference implementation

Use monky.ref() to reference model instead of a limited approach with
attribute starts with an underscore.