Fix warnings reported by -Xlint

Including:
- postfix operators
- reflective calls
- implicit conversions
- side-effecting nullary methods