core: simplify conditions, omit redundant parenthesis
core: omit 'this' for methods and fields