We cannot expose non-const definition from the component, but we should set error message. Also having both const and non-const getters leads to crash in scripting;