fix(typo): s/DEPRA/DEPRE/
fix(container): Remove unneccessary return & method

- Remove method socket_template in favor of doing it inline
- Remove unneccessary "return" statements.