Implementing set/get shortcuts and return type hints [ci skip]