Fixing 'implicit any' build error