Added some setters and getters, and fixed issues with proxies not being generated on dev mode.