Can we just pass the slave and cloud attributes instead of passing "this"? This would eliminate having getters.