Fix no-argument accessors

JAVA-298 #fixes