Removed dead store to local variable
Removed superfluous logging
Prevented unchecked casts in VAS repositories