Changed API - Centralised getting/setting of parameters