Added g_return_if_fail to new methods