Added Real type, removed templates