Unchecked/unconfirmed cast of return value from method