Adds some safe-like accessors.