Added new access method to avoid "cannot refer to declaration with an array type inside block" error