Attributes definition and fix reference_values (refs: #455)