Improved object-oriented code conventions