Removed usage container.eval() and unnecessary asynchrony in several places in Api service