Adding guard against non-exposed form methods