Add tank api methods. Fix to PSR standard.