Removed the need to cast to concrete services in bootstrap service