Avoid magic getter

Signed-off-by: crynobone <crynobone@gmail.com>