Add masters attribute

Signed-off-by: Richard Yao <ryao@gentoo.org>