Custom scope implementation (still not used)