Added dependency resolving for self references

also set readOnly to true?