Code refactors to accomodate typescript's --no-implicit-any option

Code refactors to accomodate typescript's --no-implicit-any option
Do we need this interface?